package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 主播业务对象 dy_anchor
 *
 * @author ruoyi
 * @date 2024-06-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DyPaySettingBo extends BaseEntity {

    /**
     * id
     */
    private Long id;
    /**
     * 支付宝key
     */
    @NotBlank(message = "支付宝key不能为空", groups = {AddGroup.class, EditGroup.class})
    private String alipayKey;
    /**
     * 支付宝密钥
     */
    @NotBlank(message = "支付宝密钥不能为空", groups = {AddGroup.class, EditGroup.class})
    private String alipaySec;
    /**
     * 域名
     */
    @NotBlank(message = "域名不能为空", groups = {AddGroup.class, EditGroup.class})
    private String url;
    /**
     *微信图片
     */
    private String weChatImg;

    /**
     *type 获取时返回类型 (0all， 1alipay key， 2alipay sec, 3url, 4wechatImg)
     */
    private Integer type;

    /**
     * 域名地址
     */
    private String hostUrl;

}
